package tcc.wa.view.activity.base;

import tcc.wa.presenter.view.View;
import android.app.ListActivity;
import android.content.Context;
import android.widget.Toast;

/**
 * Base class for all ListActivities.
 */
public abstract class ListActivityBase extends ListActivity implements View {
	
	/* (non-Javadoc)
	 * @see tcc.wa.presenter.view.View#getContext()
	 */
	public Context getContext() {
		return this;
	}
	
	/* (non-Javadoc)
	 * @see tcc.wa.presenter.view.View#showToast(java.lang.String)
	 */
	public void showToast(String message) {
		Toast.makeText(this, message, Toast.LENGTH_SHORT).show();
	}
}
